package edu.sctu.practice.class02.hujie.cgs.practice02.test08;

/**
 * Created by hj on 2015/10/22.
 */
public class Vehicles {
    public String brand;//商标
    public String color;
public Vehicles(String brand ,String color){
    this.brand=brand;
    this.color=color;
}
    public void run() {
        System.out.println("我已经开动了");
    }

    public void showInfo() {
        System.out.println("汽车的品牌："+brand+"汽车的颜色："+color);
    }
}
